package chess;

import java.awt.Point;

public class ItemNode {
	
	public static final int shuai=0;
	public static final int shi=1;
	public static final int pao=2;
	public static final int ma=3;
	public static final int xiang=4;
	public static final int jv=5;
	public static final int bing=6;

	public Point p;
	public boolean alive=true;
	public boolean enemy=false;
	public int sort=-1;
	
         public ItemNode(){
        	 p=new Point();
         }
	
	public boolean move(boolean[][] have,int x,int y){
		p.x=x;
		p.y=y;
		return true;
		
	}

	
	
}
